package com.liuhaoqi.raletiveblog.mapper;

import com.liuhaoqi.raletiveblog.entity.Tag;

import java.util.List;

public interface TagMapper {
    int getTagsnum();
    List<Tag> getTagListByTagId(Long id);
    int insertTag(Tag tag);
    List<Tag> getTagList();
    int deleteByPrimaryKey(Long tagid);

    int insert(Tag record);

    int insertSelective(Tag record);

    Tag selectByPrimaryKey(Long tagid);

    int updateByPrimaryKeySelective(Tag record);

    int updateByPrimaryKey(Tag record);
}